package com.zhangtingshu.pojo;

/**
 * @author zhangtingshu
 * 用户类
 */
public class User {

    /**
     * 编号
     */
    private int uid;

    /**
     * 用户的标识属性
     */
    private String uuid;

    /**
     * 名称
     */
    private String name;

    /**
     * 密码
     */
    private String pass;

    /**
     * 电话
     */
    private String tel;

    /**
     * 角色编号（外键）
     */
    private int rid;

    public User() {
    }

    public User(int uid, String uuid, String name, String pass, String tel, int rid) {
        this.uid = uid;
        this.uuid = uuid;
        this.name = name;
        this.pass = pass;
        this.tel = tel;
        this.rid = rid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }


}
